﻿using System.ServiceModel;
using DemoLib.Shared.Models;

namespace DemoLib.Shared.Contracts
{
    [ServiceContract]
    public interface IAuthoService
    {
        [OperationContract]
        AuthContract<string> AuthoriseUser(AuthContract<LogOnModel> logon);

        [OperationContract]
        void Logout(AuthContract<string> userToken);
    }
}
